package java_thinking.unit_21._21_4;

import net.jcip.annotations.NotThreadSafe;

/**
 * @Desc:   4-5 非线程安全的类， 用于定位车辆
 * @author: cww
 * @DateTime: 2019-06-02 18:41
 */
@NotThreadSafe
public class MutablePoint {
    public int x, y;

    public MutablePoint() {
        x = 0;
        y = 0;
    }
    public MutablePoint(MutablePoint p) {
        this.x = p.x;
        this.y = p.y;
    }
}
